package com.ivan.action.user;

import com.ivan.service.UserService;
import com.ivan.utils.BaseAction;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Created with IntelliJ IDEA.
 * User: ivan
 * Date: 12-6-14
 * Time: 下午2:43
 */
public class UserAction extends BaseAction<UserModel> {

    @Autowired
    private UserService userService;

    public String listAllUsers(){
        userService.listUsers(model.getPage());
        return render("userList");
    }

}
